import { ReactNode } from 'react';

import cn from 'classnames';

import cs from './Floater.module.scss';

export const Floater = ({ children, className }: { children: ReactNode; className?: string }) => (
  <div className={cs.container}>
    <div className={cn(cs.float, className)}>{children}</div>
  </div>
);
